<?php
namespace support;

const wallet_types_1      = 1;//佣金钱包
const wallet_types_remarks  = [
    wallet_types_1      => "佣金钱包",
];


const business_types_1  = 1;       //佣金奖励
const business_types_2  = 2;       //用户提现

//业务类型发生时备注
const business_types_remarks = [
    business_types_1  	=> "佣金奖励",
    business_types_2  	=> "用户提现"
];

//业务发生时关联数据体
const business_types_structs=[
    business_types_1=>[
        'order_sn'=>'',
        'order_id'=>''
    ],
    business_types_2=>[
        'withdrawal_sn'=>'',
        'withdrawal_id'=>''
    ]
];

const direction_in  = 1;      //入
const direction_out = 2;      //出
const direction_types_remarks=[
   direction_in	    =>'转入',
   direction_out	=>'转出'
];

const withdraw_status_0=0;
const withdraw_status_1=1;
const withdraw_status_2=2;
const withdraw_status__1=-1;
const withdraw_status__2=-2;
const withdraw_types_remarks=[
   withdraw_status_0	=>'待审核',
   withdraw_status_1	=>'处理中',
   withdraw_status_2	=>'已提现',
   withdraw_status__1   =>'已拒绝',
   withdraw_status__2   =>'转账失败'
];

const withdraw_pay_type_1=1;
const withdraw_pay_types_remarks=[
    withdraw_pay_type_1=>'银行卡'
];

//支付类型
const ORDER_PAY_TYPE_1=1;//微信小程序支付
const ORDER_PAY_TYPE_2=2;//微信公众号支付
const ORDER_PAY_TYPE_3=3;//微信H5支付

const ORDER_PAY_TYPES=[
   ORDER_PAY_TYPE_1=>'微信小程序支付',
   ORDER_PAY_TYPE_2=>'微信公众号支付',
   ORDER_PAY_TYPE_3=>'微信H5支付'
];

